home *** CD-ROM | disk | FTP | other *** search
/ Champak 106 / Vol 106.iso / games / honey_be.swf / scripts / DefineSprite_554 / frame_2 / DoAction.as
Text File  |  2010-04-12  |  417b  |  14 lines

  1. if(!r.ang)
  2. {
  3.    txt1 = "You did not earn anything.";
  4.    txt2 = "You did not manage to sell any honey.";
  5.    txt3 = "Your total saving is still $" + toCurrency(r.totalang);
  6. }
  7. else
  8. {
  9.    txt1 = "You only managed to earn $" + toCurrency(r.ang);
  10.    txt2 = "You need $" + toCurrency(r.goal) + "  to complete Level " + r.level + ".";
  11.    txt3 = "The total saving is $" + toCurrency(r.totalang + r.ang);
  12. }
  13. stop();
  14.